package com.luchao.back.service;

import com.luchao.back.pojo.Types;

import java.util.List;

public interface TypesService {

    List<Types> getTypesByPage(int pageNum, int pageSize);

    int addTypes(Types types);

    int editTypes(Types types);

    long getTypesCount();

    boolean batchChangeState(List<Types> list);

    int checkTypes(String tname);

    List<Types> getAllTypes();

    List<Types> getAllTypesForView();
}
